﻿namespace MangaMinion.ViewModel
{
    public class MainViewModel : ViewModelBase
    {
        private bool isStatusBarVisible;

        private bool isMainMenuVisible;

        private MangaCollectionViewModel mangaCollectionViewModel;

        public MainViewModel()
        {
            this.isMainMenuVisible = true;
            this.isStatusBarVisible = true;

            this.mangaCollectionViewModel = new MangaCollectionListViewModel();
        }

        public bool IsStatusBarVisible
        {
            get
            {
                return isStatusBarVisible;
            }

            set
            {
                isStatusBarVisible = value;
                this.NotifyPropertyChanged("IsStatusBarVisible");
            }
        }

        public bool IsMainMenuVisible
        {
            get
            {
                return isMainMenuVisible;
            }

            set
            {
                isMainMenuVisible = value;
                this.NotifyPropertyChanged("IsMainMenuVisible");
            }
        }

        public MangaCollectionViewModel MangaCollectionViewModel
        {
            get
            {
                return this.mangaCollectionViewModel;
            }

            set
            {
                this.mangaCollectionViewModel = value;
                this.NotifyPropertyChanged("MangaCollectionViewModel");
            }
        }
    }
}
